﻿
using System;

namespace OAuth.Server.Domain.Entities
{
    /// <summary> 帐号表 </summary>
    //[Naming("t_account")]
    public class TAccount { 
        public string Account { get; set; }
        public string Mobile { get; set; }
        public string Email { get; set; }
        public string Password { get; set; }
        public string PasswordSalt { get; set; }
        /// <summary> 加密类型 </summary>
        public byte EncryptionType { get; set; }
        /// <summary> 帐号类型 </summary>
        public int Type { get; set; }
        /// <summary> 认证类型:1,手机号;2,邮箱 </summary>
        public int AuthStates { get; set; }
        /// <summary> 帐号状态 </summary>
        public byte State { get; set; }
        public DateTime CreateTime { get; set; }
        /// <summary> 最后登录时间 </summary>
        public DateTime? LastLoginTime { get; set; }
    }
}
